<?php
/**
 * Created:
 * User: lisgroup
 * Time: 2017/5/21 12:15
 */
namespace Home\controller;

use Home\model\index;

class IndexController {
    public function index()
    {
        echo 'index';
    }

    public function getVersion()
    {
        $versionList = (new index())->getVersion();
        echo 'PHP版本：' . $versionList['php_version'].'。Mysql版本：' . $versionList['mysql_version'];
    }
}